package com.cxso.example.response.position;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

@Getter
@Setter
public class PositionDirectionDrivingResponse implements Serializable {

    @Schema(description = "起点坐标", example = "1.2")
    private String origin;

    @Schema(description = "终点坐标", example = "1.2")
    private String destination;

    @Schema(description = "轨迹点位", example = "1.2")
    private List<Paths> paths;

    @Schema(description = "行驶距离", example = "1.2")
    private String distance;

    @Schema(description = "预计行驶时间", example = "1.2")
    private String duration;

    @Schema(description = "导航策略", example = "1.2")
    private String strategy;

    @Schema(description = "此导航方案道路收费", example = "1.2")
    private String tolls;

    @Schema(description = "收费路段距离", example = "1.2")
    private String tollDistance;

    @Schema(description = "限行结果", example = "1.2")
    private String restriction;

    @Schema(description = "红绿灯个数", example = "1.2")
    private String trafficLights;

    @Getter
    @Setter
    @Schema(description = "路径规划返参")
    public static class Paths {

        @Schema(description = "道路名称", example = "1.2")
        private String areaName;

        @Schema(description = "纬度", example = "1.2")
        private String lat;

        @Schema(description = "经度", example = "1.2")
        private String lon;
    }

}
